home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / SpriteWorld 2.2 Extra Demos / Large Background Scrolling / Large Background.h < prev    next >
Encoding:
Text File  |  1997-09-09  |  856 b   |  39 lines  |  [TEXT/CWIE]

  1. ///--------------------------------------------------------------------------------------
  2. // Large Background.h
  3. //
  4. // By: Vern Jensen
  5. ///--------------------------------------------------------------------------------------
  6.  
  7.  
  8. #ifndef __WINDOWS__
  9. #include <Windows.h>
  10. #endif
  11.  
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17.  
  18. void    main( void );
  19. void    CreateSpriteWorld( void );
  20. void    CreateBallSprites( void );
  21. void    CreateMouseSprite( void );
  22. void    ShieldMyCursor( void );
  23. void    SetUpAnimation( void );
  24.  
  25. void    DrawBackground( void );
  26. void    RunAnimation( void );
  27. void    DispatchEvent( EventRecord* event);
  28. void    HandleMouseDown( EventRecord *eventPtr );
  29. void    ShutDown( void );
  30.  
  31. SW_FUNC void BallSpriteMoveProc(SpritePtr ballSpriteP);
  32. SW_FUNC void MouseSpriteMoveProc(SpritePtr srcSpriteP);
  33.  
  34. SW_FUNC void DragMouseInWindow(EventRecord *eventPtr);
  35.  
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39.